Distributed authentication and authorization for rapid scaling of containerized services

ABSTRACT

The disclosed technology provides solutions for performing rapid authentication and authorization for distributed containerized microservices. In some aspects, a process of the technology can include steps for: associating a service type with a set of microservices or service pods, detecting deployment of a first microservice on a first host, and receiving an authentication and authorization state from a first virtual network edge (VNE) of the first host. In some aspects, the process can further include steps for distributing the authentication state to a second VNE on a second host, wherein the authentication state is configured to facilitate authentication of one or more subsequent microservices instantiated on the second host by the second VNE. Systems and machine readable media are also provided.

CROSS-REFERENCE TO RELATED APPLICATION

This application is a Continuation of, and claims priority to, U.S. Non-Provisional patent application Ser. No. 16/012,597, filed Jun. 19, 2018, the content of which is incorporated herein by reference in its entirety.

BACKGROUND 1. Technical Field

This disclosure relates in general to the field of computer networks and, more particularly, pertains to the distributed authentication and authorization of containerized microservices.

2. Introduction

Containerized microservices are becoming the preferred method of deploying complex enterprise applications. Rather than build a single monolithic application, container based microservices split the application into multiple smaller interconnected components.

BRIEF DESCRIPTION OF THE DRAWINGS

In order to describe the manner in which the above-recited and other advantages and features of the disclosure can be obtained, a more particular description of the principles briefly described above will be rendered by reference to specific embodiments thereof which are illustrated in the appended drawings. Understanding that these drawings depict only exemplary embodiments of the disclosure and are not therefore to be considered to be limiting of its scope, the principles herein are described and explained with additional specificity and detail through the use of the accompanying drawings in which:

FIG. 1 illustrates an example network environment in which some aspects of the technology can be implemented.

FIG. 2 conceptually illustrates an example network environment that includes a controller and authentication server configured to implement a distributed authentication process of the disclosed technology.

FIG. 3 illustrates steps of an example process 300 for implementing a distributed microservices authentication process of the disclosed technology.

FIG. 4 illustrates an example network device in accordance with various embodiments.

DETAILED DESCRIPTION

The detailed description set forth below is intended as a description of various configurations of the disclosed technology and is not intended to represent the only configurations in which the technology can be practiced. The appended drawings are incorporated herein and constitute a part of the detailed description. The detailed description includes specific details for the purpose of providing a more thorough understanding of the subject technology. However, it will be clear and apparent that the subject technology is not limited to the specific details set forth herein and may be practiced without these details. In some instances, structures and components are shown in block diagram form in order to avoid obscuring the concepts of the subject technology.

Additional features and advantages of the disclosure will be set forth in the description which follows, and in part will be obvious from the description, or can be learned by practice of the herein disclosed principles. The features and advantages of the disclosure can be realized and obtained by means of the instruments and combinations particularly pointed out in the appended claims. These and other features of the disclosure will become more fully apparent from the following description and appended claims, or can be learned by the practice of the principles set forth herein.

OVERVIEW

Disclosed are systems, methods, and computer-readable storage media for distributing the authentication process for containerized microservices, for example, to facilitate rapid horizontal scaling. In some aspects, a fabric controller distributes an authentication and authorization state for a particular set of microservices (pods) associated with a particular service type. The controller can associate a service type with a set of microservice pods. The controller can then detect deployment of a first microservice on a first host, wherein the first microservice is associated with the first service type. Next, the fabric controller can receive an authentication state from a first virtual network edge (VNE) of the first host, and can then distribute the authentication state to a second virtual network edge (VNE) on a second host. In some aspects, the authentication state can be configured to facilitate authentication of one or more subsequent microservices instantiated on the second host by the second VNE.

In some aspects, the authentication state is configured to cause the second VNE to permit authentication if the one or more subsequent microservices are associated with the first service type; alternatively, the authentication state can be configured to cause the second VNE to perform authentication if the one or more subsequent microservices are not associated with the first service type. In some aspects, a process of the technology can further include steps for distributing the association between the first service type and the set of microservice pods to a plurality of VNE devices. In some implementations, detecting deployment of the first microservice can further include: receiving a pod deployment notification from a Kubernetes cluster. Additionally, in some aspects the authentication state received from the first VNE can include one or more authorization policies, and wherein the authentication state received from the first VNE comprises an authentication and authorization result of an 802.1X workflow.

DESCRIPTION

In a conventional microservice authentication and authorization process, each new microservice (e.g., pod/replica) is separately authenticated by an authentication server, for example, using the 802.1X workflow. Due to authentication resource bottlenecks, this process makes it difficult to rapidly scale microservices to new host devices (which require additional authorizations). As such, there exists a need to alleviate authentication server loads while also providing solutions for enabling fast-scaling capabilities for newly deployed microservices.

Aspects of the disclosed technology address the foregoing need by providing systems and processes for distributing authentication/authorization capabilities to the network edge devices, i.e., pod hosts.

In some implementations, microservice authentication is initially performed by the authentication server for newly instantiated services. The authentication result (i.e., authorized/unauthorized) is then distributed to each edge device (VNE on a pod host) in the container cluster (e.g., a Kubernetes cluster). Depending on implementation, distribution of the authentication result can be coordinated by a separate device, such as a fabric controller, e.g., an ACI Application Policy Infrastructure Controller (APIC), or using a distributed data store, or the like.

In some aspects, subsequent/additional authorizations for previously deployed containers, container clusters (pods), or particular services may be performed upon the occurrence of particular event. For example, re-authentications for a particular microservice or set of microservices may be requested by a POD or VNE. After subsequent authorizations are completed by a corresponding VNE, Extensible Authentication Protocol (EAP) messages indicating authorization “success” or “fail” sates can be forwarded to the microservice(s). If the re-authorization results in a state change for the service, the update can be propagated to the other VNEs, e.g., via the fabric controller.

Additionally, in some implementations, it is possible to explicitly enable or disable specific sets of microservices. For example, in implementations where a microservice manager is used, such as Kubernetes, the enable/disable intent may be communicated using labels and enforced at the fabric controller.

By caching and distributing authentication results across various devices, horizontal scaling of microservices can be improved e.g., by reducing the time for a pod to begin providing service. Because aspects of the disclosed technology also enable VNE devices to perform pod authentication/authorization, pod authentication is distributed, thereby alleviating authentication server loads and adding authentication capability redundancy, for example, if authentication servers are taken offline.

Additional details describing example systems and processes for implementing a distributed microservice authentication solution are provided below. The disclosure now turns to an overview of computer networking, followed by the description of an example environment illustrated in FIG. 1 , which provides example network environment 100 in which some aspects of the technology can be implemented.

Network 100 includes a Fabric 112 that represents a physical layer or infrastructure (underlay) of network 100. Fabric 112 includes Spines 102 (e.g., spine routers or switches) and Leafs 104 (e.g., leaf routers or switches) that are interconnected for switching/routing traffic in Fabric 112. Spines 102 interconnect Leafs 104 in Fabric 112, and Leafs 104 connect Fabric 112 to the overlay portion of network 100, which includes application services (APPs 117), servers 106, virtual machines (VMs) 110, containers 115, endpoints, endpoint groups (EPGs) 118, etc. Thus, network connectivity in Fabric 112 can flow from Spines 102 to Leafs 104, and vice versa. Leafs 104 can be, for example, top-of-rack (“ToR”) switches, aggregation switches, gateways, ingress and/or egress switches, provider edge devices, and/or any other type of routing or switching device/s.

Leafs 104 can be responsible for routing and/or switching tenant or customer packets and applying network policies. Network policies, such as authentication policies, can be driven by the one or more controllers 116 and/or the Leafs 104. Leafs 104 can connect Servers 106, Hypervisors 108, Virtual Machines (VMs) 110, Containers 115, Applications 116, Endpoints 118, External Routers 114, etc., with Fabric 112. For example, Leafs 104 can encapsulate and decapsulate packets to and from Servers 106 in order to enable communications throughout network 100, including Fabric 112. Leafs 104 can also provide any other devices, services, tenants, or workloads with access to Fabric 112.

VMs 110 can be virtual machines hosted by Hypervisors 108 running on Servers 106. VMs 110 can include workloads running on a guest operating system on a respective server. Hypervisors 108 can provide a layer of software, firmware, and/or hardware that creates and runs the VMs 110. Hypervisors 108 can allow VMs 110 to share hardware resources on Servers 106, and the hardware resources on Servers 106 to appear as multiple, separate hardware platforms. Moreover, Hypervisors 108 on Servers 106 can each host one or more VMs 110. Servers 106 and/or VMs 110 can be configured to various applications, that perform network functionality, such as, by virtualizing various routing, filtering and security functions. Network applications can include software applications, services, operators, containers, container clusters (e.g., one or more pods) appliances, functions, service chains, etc. For example, Applications 116 can include a firewall, a database, a CDN server, an IDS/IPS, a deep packet inspection service, a message router, a virtual switch, etc.

In some cases, VMs 110 and/or Hypervisors 108 can be migrated to other Servers 106. Servers 106 can similarly be migrated to other locations in the network environment 100. For example, a server connected to a specific leaf can be changed to connect to a different or additional leaf. Such configuration or deployment changes can involve modifications to settings and policies that are applied to the resources being migrated.

In some cases, one or more Servers 106, Hypervisors 108, and/or VMs 110 can represent a tenant or customer space. Tenant space can include workloads, services, applications, devices, and/or resources that are associated with one or more clients or subscribers. Accordingly, traffic in network environment 100 can be routed based on specific tenant policies, spaces, agreements, configurations, etc. Moreover, addressing can vary between one or more tenants. In some configurations, tenant spaces can be divided into logical segments and/or networks and separated from logical segments and/or networks associated with other tenants. Addressing, policy, and configuration information between tenants can be managed by one or more controllers 116.

Policies, configurations, settings, etc., in the network can be implemented at the application level, the physical level, and/or both. For example, one or more controllers 116 can define a policy model at the application level which defines policies and other settings for groups of applications or services, such as endpoint groups. In some addition, the Leafs 104, as well as other physical devices such as physical servers or Spines 102, can apply specific policies to traffic. For example, Leafs 104 can apply specific policies or contracts to traffic based on tags or characteristics of the traffic, such as protocols associated with the traffic, applications or endpoint groups associated with the traffic, network address information associated with the traffic, etc.

By way of example, a fabric controller may be implemented using ACI, which can provide an application policy-based solution through scalable distributed enforcement, and support integration of physical and virtual environments under a declarative policy model for networks, servers, services, security, requirements, etc. For example, the ACI framework implements End Point Groups (EPGs), which can include a collection of endpoints or applications that share common policy requirements, such as security, QoS, services, etc. Endpoints can be virtual/logical or physical devices, such as VMs and bare-metal physical servers that are connected to network 100.

Endpoints can have one or more attributes such as VM name, guest OS name, a security tag, etc. Application policies can be applied between EPGs, instead of endpoints directly, for example, in the form of contracts. Leafs 104 can classify incoming traffic into different EPGs. The classification can be based on, for example, a network segment identifier such as a Virtual LAN (VLAN) ID, a Virtual Extensible LAN (VXLAN) Network Identifier (VNID), Network Virtualization using Generic Routing Encapsulation (NVGRE) Virtual Subnet Identifier (VSID), MAC address, IP address, etc.

In some cases, classification in the ACI infrastructure can be implemented by Application Virtual Switches (AVS), which can run on a host, and physical hosts. For example, an AVS can classify traffic based on specified attributes, and tag packets of different attribute EPGs with different identifiers, such as network segment identifiers (e.g., VLAN ID). Finally, Leafs 104 can tie packets with their attribute EPGs based on their identifiers and enforce policies, which can be implemented and/or managed by one or more controllers 116, such as an application policy infrastructure controller (APIC). The Leaf 104 can classify to which EPG the traffic from a host belong and enforce policies accordingly.

Network 100 may deploy different hosts via the Leafs 104, Servers 106, Hypervisors 108, VMs 110, and other applications or processes such as containers, controllers, and/or endpoints. By way of example, hosts may be implemented as VMware ESXi hosts, Windows Hyper-V hosts, bare metal physical hosts, etc. Network 100 can interoperate with a wide variety of Hypervisors 108, Servers 106 (e.g., physical and/or virtual servers), SDN orchestration platforms, etc. Network 100 may implement a declarative model to allow its integration with application design and holistic network policy.

Network 100 can include one or more different types of SDN solutions, hosts, etc. For the sake of clarity and explanation purposes, the examples in the following disclosure will be described in the context of an ACI solution implemented in the network 100, and the one or more controllers 116 may be interchangeably referenced as APIC controllers. However, it should be noted that the technologies and concepts herein are not limited to ACI architectures and may be implemented in other architectures and configurations, including other SDN solutions as well as other types of networks which may not deploy an SDN solution.

Further, as referenced herein, the term “hosts” can refer to servers 106 (e.g., physical or logical), Hypervisors 108, VMs 110, containers 115 (e.g., Applications 117), EPGs 118, etc., and can run or include any type of server or application solution. Non-limiting examples of “hosts” can include virtual servers, bare metal physical hosts, VMs, Docker Containers, Virtual Routers/Switches (e.g., VPP), etc. Although containers 115 are illustrated as being instantiated on servers 106 it is understood that one or more of the VMs may be configured to host various containers. Additionally, applications 117, can include or maybe composed of software routines running in one or more of containers 115 and/or VMs 110.

Controllers 116 can provide centralized access to fabric information, application configuration, resource configuration, application-level policy modeling for a software-defined network (SDN) infrastructure, integration with management systems or servers, etc. Controllers 116 can form a control plane that interfaces with an application plane via northbound APIs and a data plane via southbound APIs. In some examples, controllers 116 can include SDN controllers or managers, such as an application policy infrastructure controller (APIC).

As previously noted, controllers 116 can define and manage application-level model(s) for policies in the network 100. Application or device policies can also be managed and/or defined by other components in the network. For example, a hypervisor or virtual appliance, such as a container, container cluster, and/or VM can run a server or management tool to manage software and services in network 100, including policies and settings for virtual appliances.

In one aspect of the disclosed technology, controllers 116 (e.g., one or more ACI APIC controller/s) can be used to facilitate the authentication of newly instantiated applications, such as containers in a cluster. That is, controllers 116 can be configured to receive an authentication decision resulting from an authentication process performed by a Virtual Network Edge (VNE) on behalf of a newly instantiated microservice (container), for example, as part of the 802.1X workflow.

Re-authentications for a particular microservice or set of microservices may also be requested after the 802.1X workflow is completed. Following subsequent authorizations, EAP messages can be forwarded to the microservice(s); if the re-authorization results in a state change for the service, the update can be propagated to the other VNEs, e.g., via the fabric controller. Additionally, it is possible to explicitly enable or disable specific sets of microservices. For example, in implementations where a microservice manager is used, such as Kubernetes, the enable/disable intent may be communicated using labels and enforced at the fabric controller. A more detailed explanation of the architecture used to perform distributed authentication is discussed with respect to FIG. 2 .

FIG. 2 conceptually illustrates an example network environment 200 that includes a controller and authentication server configured to implement a distributed authentication process of the disclosed technology. Environment 200 includes fabric controller 202, authentication server 204, and multiple hosts 206, e.g., 206A, 206B, and 206C. Each of hosts 206 includes a VNE 208, e.g., host 206A contains VNE 208A, host 206B contains VNE 208B, and hosts 206C contains VNE 208C. Additionally, each host 206 also includes a container pod 210, e.g., hosts 206A-C include pods 210A-C, respectively. As illustrated, each host 206 is coupled to fabric controller 202 via its corresponding VNE 208. In turn, each VNE 208 is also coupled to authentication server 204.

Newly deployed micro service pods are initially authenticated by authentication server 204 via a VNE associated with their corresponding host device. Subsequently, fabric controller 202 can distribute the resulting authentication state to each VNE 208. As such, subsequent microservices/microservice clusters/pods that are deployed on different hosts can be automatically authenticated by their local VNE, without the need to utilize authentication server 204.

In practice, controller 202 is configured to control each VNE 208, and to interact with a microservice deployment mechanism, such as Kubernetes, e.g., to register for new notification events. As such, controller 202 can register to be notified of new pod deployments, etc. Controller 202 also maintains a mapping of services to pods, which is distributed to each VNE.

By way of example, suppose that a new service associated with three replicas, such as pods 210A, 210B, and 210C, is newly configured by a microservice manager (e.g., Kubernetes). The first pod (210A) is deployed on host 206A. In this example, pod 210A seeks access to the network by gaining authorization from authentication server 204, via its corresponding VNE, e.g., VNE 208A. Authentication of pod 210A can follow the 802.1X workflow, for example, wherein authentication and authorization server 204 is implemented using a RADIUS or Cisco ISE configuration.

Upon completion of the authentication workflow, authentication server 204 provides an authentication state (e.g., either authorized or unauthorized), together with any authorization policies, such as, Access Control Lists, QoS etc.

VNE 208A reports the authentication state to controller 202 that, in turn, distributes the state to all other nodes (e.g., VNE instances). In the example of FIG. 2 , fabric controller 202 distributes the authentication and authorization state received from VNE 208A to VNE 208B and VNE 208C on hosts 206B and 206C, respectively.

Subsequently, pod 210B, belonging to the same service as pod 210A, is deployed on host 206B. Upon deployment of pod 210 a local authenticator (e.g., VNE 208B) can either wait for pod 210B to initiate an authentication process (e.g., an 802.1X workflow), or it can proactively initiate the process. However, according to the distributed authentication process of the subject technology, VNE 208B can automatically authenticate pod 210B using the authentication state previously received from fabric controller 202. In such instances, the VNE (e.g., VNE 208B) can complete the 802.1X workflow by responding to the pod with an authentication result, such as “success” or “fail,” to complete the authorization process.

It is understood that the ability of VNEs to perform an authentication depends on a service type of the newly instantiated microservice/pod. That is, a proactive (distributed) authentication by a local VNE can be performed only when the new pod/microservice is associated with a service that previously passed authentication using authentication server 204. By way of further example, if an additional pod (e.g., pod 210C) is deployed on server 206C belonging to a different service type than pods 210A, 210B, the local VNE (e.g., VNE 208C) cannot pass authentication based on the previously cached authentication result.

In some aspects, subsequent/additional authorizations for previously deployed containers, container clusters (pods), or particular services may be performed upon the occurrence of particular event. Further to the above example, re-authentication of pod 210A may be required by the pod or VNE 208A. In this example, the re-authorization is completed by VNE 208A, using the process discussed above, and EAP messages indicating authorization “success” or “fail” sates are forwarded to pod 210A. If the re-authorization results in a state change for the service, the update states can be propagated to the other VNEs, via fabric controller 202.

Additionally, in some implementations, it is possible to explicitly enable or disable specific sets of microservices. Further to the above example, re-authorizations for pod 210C may be disabled using labels that are provided to the microservices management system (Kubernetes). Authorization permissions can be additionally enforced by the fabric controller.

FIG. 3 illustrates steps of an example process 300 for implementing a distributed micro service authentication protocol of the disclosed technology. Process 300 begins with step 302 in which a first service type is associated with a set of micro services, such as a set of micro service pods. Although the micro services (or groups of micro services) can be administered and managed using any type of management platform, in some aspects, Kubernetes is used for micro service management. As such, a service type can be associated with one or more individual containers, and/or one or more container groups, e.g., pods or replicas, etc.

In step 304, deployment of a first micro service on a first host is detected, wherein the first micro service is associated with the first service type. As discussed above, a fabric controller (such as fabric controller 202) can be configured to interact with Kubernetes, and to register for notification events, such that notification is received upon new pod/micro service deployments. As such, the fabric controller is made aware of the new pod deployment on the first host.

In step 306, the controller receives an authentication state, from first virtual network edge (VNE) of the first host. For example, as discussed above with respect to FIG. 2 , an authentication server (such as authentication server 204) can be used to complete an 802.1X authentication workflow for the first microservice (pod) deployed on the first host, and to pass the authentication result to the fabric controller (e.g. fabric controller 202).

Subsequently, in step 308, the fabric controller distributes the authentication state to a second VNE on a second host, wherein the authentication state is configured to facilitate authentication of one or more micro services (pods) that are subsequently instantiated on the second host. Further to the example discussed above with respect to FIG. 2 , authentication of subsequent micro services on the second host can be performed using the cached authentication result, for example, by a local VNE device present on the second host.

By caching and distributing authentication results across various devices, the authorization/authentication time of rapidly scaling microservices can be drastically improved e.g., by reducing the time for a pod to begin providing service. Because the disclosed technology also enables VNEs to perform pod authentication/authorization, pod authentication is distributed, thereby alleviating loads on the authentication server and adding authentication redundancy, for example, if authentication servers are taken offline.

As discussed above, re-authentications for a particular microservice or set of microservices may be requested by a POD or VNE. After subsequent authorizations are completed EAP messages can be forwarded to the microservice(s). If the re-authorization results in a state change for the service, the update can be propagated to the other VNEs, e.g., via the fabric controller. Additionally, in some implementations, it is possible to explicitly enable or disable specific sets of microservices. For example, in implementations where a microservice manager is used, such as Kubernetes, the enable/disable intent may be communicated using labels and enforced at the fabric controller.

FIG. 4 illustrates an example network device 400 suitable for implementing a process of the subject technology. Network device 400 includes a central processing unit (CPU) 404, interfaces 468, and a bus 415 (e.g., a PCI bus). When acting under the control of appropriate software or firmware, the CPU 462 is responsible for executing packet management, error detection, and/or routing functions. CPU 462 accomplishes all these functions under the control of software including an operating system and any appropriate applications software. CPU 462 may include one or more processors 408, such as a processor from the INTEL X86 family of microprocessors. In some cases, processor 463 can be specially designed hardware for controlling the operations of network device 400. In some cases, a memory 461, e.g., non-volatile Random Access Memory (RAM), Read Only Memory (ROM), etc., also forms part of CPU 462. However, there are many different ways in which memory could be coupled to the system.

Interfaces 468 can be provided as modular interface cards (sometimes referred to as “line cards”). They can control the sending and receiving of data packets over the network and sometimes support other peripherals used with network device 400. Among the interfaces that may be provided are Ethernet interfaces, frame relay interfaces, cable interfaces, Digital Subscriber Line (DSL) interfaces, token ring interfaces, and the like.

In addition, various very high-speed interfaces may be provided such as fast token ring interfaces, wireless interfaces, Ethernet interfaces, Gigabit Ethernet interfaces, ATM interfaces, High Speed Serial Interfaces (HSSIs), POS interfaces, FDDI interfaces, WIFI interfaces, 3G/4G/5G cellular interfaces, CAN BUS, LoRA, and the like. Generally, these interfaces may include ports appropriate for communication with the appropriate media. In some cases, they may also include an independent processor and, in some instances, volatile RAM. The independent processors may control such communications intensive tasks as packet switching, media control, signal processing, crypto processing, and management. By providing separate processors for the communications intensive tasks, these interfaces allow the master microprocessor 404 to efficiently perform routing computations, network diagnostics, security functions, etc.

Although the system shown in FIG. 4 is one specific network device of the present embodiments, it is by no means the only network device architecture on which the present embodiments can be implemented. For example, an architecture having a single processor that handles communications as well as routing computations, etc., is often used. Further, other types of interfaces and media could also be used with the network device 400.

Regardless of the network device's configuration, it may employ one or more memories or memory modules (including memory 461, and secondary storage 481) configured to store program instructions for the general-purpose network operations and mechanisms for roaming, route optimization and routing functions described herein. The program instructions may control the operation of an operating system and/or one or more applications, for example. The memory or memories may also be configured to store tables such as mobility binding, registration, and association tables, etc. Memory 461 could also hold various software containers and virtualized execution environments and data. Additionally, secondary storage 481 may be used as a distributed data store.

In some implementations, the program instructions may be configured to cause CPU 462 and/or processor 463 to perform operations for performing a distributed 802.1X authentication workflow. In particular, the program instructions can cause CPU 462 and/or processor 463 to perform operations for associating a first service type with a set of microservice pods, detecting deployment of a first microservice on a first host, wherein the first microservice is associated with the first service type, and receiving an authentication state from a first virtual network edge (VNE) of the first host. In some aspects, the process can further include steps for distributing the authentication state to a second virtual network edge (VNE) on a second host, wherein the authentication state is configured to facilitate authentication of one or more subsequent microservices instantiated on the second host.

In some implementations, the authentication state is configured to cause the second VNE to permit authentication if the one or more subsequent microservices are associated with the first service type. Additionally, in some aspects the authentication state is configured to cause the second VNE to deny authentication if the one or more subsequent microservices are not associated with the first service type, and/or wherein distributing the association between the first service type and the set of microservice pods to a plurality of VNE devices.

Network device 400 can also include an application-specific integrated circuit (ASIC), which can be configured to perform routing and/or switching operations. The ASIC can communicate with other components in the network device 400 via the bus 415, to exchange data and signals and coordinate various types of operations by the network device 400, such as routing, switching, and/or data storage operations, for example.

For clarity of explanation, in some instances the present technology may be presented as including individual functional blocks including functional blocks comprising devices, device components, steps or routines in a method embodied in software, or combinations of hardware and software.

In some embodiments the computer-readable storage devices, mediums, and memories can include a cable or wireless signal containing a bit stream and the like. However, when mentioned, non-transitory computer-readable storage media expressly exclude media such as energy, carrier signals, electromagnetic waves, and signals per se.

Methods according to the above-described examples can be implemented using computer-executable instructions that are stored or otherwise available from computer readable media. Such instructions can comprise, for example, instructions and data which cause or otherwise configure a general purpose computer, special purpose computer, or special purpose processing device to perform a certain function or group of functions.

Portions of computer resources used can be accessible over a network. The computer executable instructions may be, for example, binaries, intermediate format instructions such as assembly language, firmware, or source code. Examples of computer-readable media that may be used to store instructions, information used, and/or information created during methods according to described examples include magnetic or optical disks, flash memory, USB devices provided with non-volatile memory, networked storage devices, and so on.

Devices implementing methods according to these disclosures can comprise hardware, firmware and/or software, and can take any of a variety of form factors. Typical examples of such form factors include laptops, smart phones, small form factor personal computers, personal digital assistants, rackmount devices, standalone devices, and so on. Functionality described herein also can be embodied in peripherals or add-in cards. Such functionality can also be implemented on a circuit board among different chips or different processes executing in a single device, by way of further example.

The instructions, media for conveying such instructions, computing resources for executing them, and other structures for supporting such computing resources are means for providing the functions described in these disclosures.

Although a variety of examples and other information was used to explain aspects within the scope of the appended claims, no limitation of the claims should be implied based on particular features or arrangements in such examples, as one of ordinary skill would be able to use these examples to derive a wide variety of implementations. Further and although some subject matter may have been described in language specific to examples of structural features and/or method steps, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to these described features or acts. For example, such functionality can be distributed differently or performed in components other than those identified herein. Rather, the described features and steps are disclosed as examples of components of systems and methods within the scope of the appended claims. 

What is claimed is:
 1. A system for authenticating services, the system comprising: one or more processors; a memory storing instructions, which when executed by the one or more processors, causes the one or more processors to: associate a first service type with at least one microservice; detect a first service associated with the first service type on a first host; receive an authentication state from a first network edge of the first host; and distribute the authentication state to a second network edge of a second host, wherein the authentication state is configured to facilitate authentication of one or more microservices on the second host.
 2. The system of claim 1, wherein the authentication state is configured to cause the second network edge to permit authentication when the one or more microservices on the second host are associated with the first service type.
 3. The system of claim 1, wherein the authentication state is configured to cause the second network edge to perform authentication when the one or more microservices on the second host are not associated with the first service type.
 4. The system of claim 1, wherein the at least one microservice is part of a microservice pod and the first service type is associated with the microservice pod.
 5. The system of claim 1, wherein the authentication state is distributed to a plurality of network edges to facilitate authentication of one or more microservices on a plurality of hosts.
 6. The system of claim 1, further comprising instructions, which when executed by the one or more processors, causes the one or more processors to: reauthenticate one or more microservices deployed before the authentication state was received.
 7. The system of claim 1, wherein either the first network edge and second network edge, or both, are physical devices.
 8. At least one non-transitory computer readable medium storing instructions, which when executed by the one or more processors, causes the one or more processors to: associate a first service type with at least one microservice; detect a first service associated with the first service type on a first host; receive an authentication state from a first network edge of the first host; and distribute the authentication state to a second network edge of a second host, wherein the authentication state is configured to facilitate authentication of one or more microservices on the second host.
 9. The at least one non-transitory computer readable medium of claim 8, wherein the authentication state is configured to cause the second network edge to permit authentication when the one or more microservices on the second host are associated with the first service type.
 10. The at least one non-transitory computer readable medium of claim 8, wherein the authentication state is configured to cause the second network edge to perform authentication when the one or more microservices on the second host are not associated with the first service type.
 11. The at least one non-transitory computer readable medium of claim 8, wherein the at least one microservice is part of a microservice pod and the first service type is associated with the microservice pod.
 12. The at least one non-transitory computer readable medium of claim 8, wherein the authentication state is distributed to a plurality of network edges to facilitate authentication of one or more microservices on a plurality of hosts.
 13. The at least one non-transitory computer readable medium of claim 8, further comprising instructions, which when executed by the one or more processors, causes the one or more processors to: reauthenticate one or more microservices deployed before the authentication state was received.
 14. The at least one non-transitory computer readable medium of claim 8, wherein either the first network edge and second network edge, or both, are physical devices.
 15. A method comprising: associating a first service type with at least one microservice; detecting a first service associated with the first service type on a first host; receiving an authentication state from a first network edge of the first host; and distributing the authentication state to a second network edge of a second host, wherein the authentication state is configured to facilitate authentication of one or more microservices on the second host.
 16. The method of claim 15, wherein the authentication state is configured to cause the second network edge to permit authentication when the one or more microservices on the second host are associated with the first service type.
 17. The method of claim 15, wherein the authentication state is configured to cause the second network edge to perform authentication when the one or more microservices on the second host are not associated with the first service type.
 18. The method of claim 15, wherein the at least one microservice is part of a microservice pod and the first service type is associated with the microservice pod.
 19. The method of claim 15, further comprising reauthenticating one or more microservices deployed before the authentication state was received.
 20. The method of claim 15, wherein either the first network edge and second network edge, or both, are physical devices. 